package org.hxyjs.dao;

import org.hxyjs.entity.MatchOddsRecord;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface MatchOddsRecordDao {

    public List<MatchOddsRecord> getMatchOddsRecordByPage(PageInfo pageInfo) throws Exception;

    public List<MatchOddsRecord> getAllMatchOddsRecords() throws Exception;


    public MatchOddsRecord getMatchOddsRecordByMorno(String morno) throws Exception;

    //增删改的返回值都是整数
    Integer deleteMatchOddsRecordByMorno(String morno) throws Exception;

    Integer updateMatchOddsRecordByMorno(MatchOddsRecord matchOddsRecord) throws Exception;

    Integer addMatchOddsRecord(MatchOddsRecord matchOddsRecord) throws Exception;

    //    MatchOddsRecord getMatchOddsRecordByMorno(String morno) throws Exception;
//    MatchOddsRecord selectMatchOddsRecordWithorderAndUser(String morno) throws Exception;
}